package org.smog.core.dto.output;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 带 String id和创建,更新时间 的 output DTO 基类
 * @Description: Created by IntelliJ IDEA.
 * @project_name: smogTemp
 * @time: 2020-05-16 11:15
 * @email: 17685306043@163.com
 * @author: huangZhongYao
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class DefaultStringIdAndTimeOutput extends DefaultStringIdOutput {
    private static final long serialVersionUID = 1451402175767763569L;

    @ApiModelProperty(
            value = "数据创建时间"
    )
    private Date createTime;

    @ApiModelProperty(
            value = "数据更新时间"
    )

    private Date updateTime;
}
